<script setup>
let props = defineProps(['info']);

let result = props.info.toUpperCase()
// info.toUpperCase()



</script>

<template>
<h2>这是 Child1 子组件</h2>
  <!--<div>{{ info }}</div>
  <div>{{ info.toUpperCase() }}</div>-->
  <div>{{ result }}</div>
</template>

<style scoped>

</style>